package com.nanachi.feign;

import com.nanachi.feign.core.annotation.EnableSimpleFeignClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author yuhongtai
 */
@SpringBootApplication
@EnableSimpleFeignClient(packages = "com.nanachi.feign")
@EnableDiscoveryClient
public class Main {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(Main.class);
        springApplication.run();
    }
}
